﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入num1(num1必须大于num2)");
            double num1 = double.Parse(Console.ReadLine());
            Console.WriteLine("请输入num2");
            double num2 = double.Parse(Console.ReadLine());
            //加
            Computer computer = new Computer();
            Console.WriteLine("num1+num2="+computer.Add(num1,num2));
            //减

            Console.WriteLine("num1-num2=" + computer.Subtract(num1, num2));
            //乘
            
            Console.WriteLine("num1*num2=" + computer.Multiply(num1, num2));
            //除
           
            Console.WriteLine("num1/num2=" + computer.Divide(num1, num2));
        }
    }
}
